home *** CD-ROM | disk | FTP | other *** search
- 12/06/92, Chicago. IDeclare initial release 1.0.
- Welcome to IDeclare. This program was designed to solve a problem
- that frequently popped up while programming in QuickBasic 4.5, namely the
- existence of duplicate declarations between long and complex include files.
- Upon finding such, QB stops in its tracks, an activity that can be quite
- annoying. This program was designed to allow one or more include files to be
- used to create customized include files for whatever program module(s) the
- user selects. Up to 32 include files, and 32 modules can be referenced, as
- long as sufficient memory exists.
- Start the program by typing "IDeclare" from the appropriate directory.
- IDeclare does not accept command line options at this time.
- In order to add another file while entering the files, simply append
- a "+" to the name entered. The program will interpret this as "There is
- another file I want processed as well."
- For example, suppose you are entering the first of two include files
- to be processed by the program, Advbas2.bi. You would type "Advas2.bi+" (but not
- the quotation marks), press enter, and then the program will list the include
- files and ask you again for the name of the include file to process. You would
- then type the second name and press enter. Then the program will prompt you
- for names of modules.
- Enter only one name per question. You may simply press enter without
- entering anything else if you wish to skip either the modules or include files.
- Skipping the module(s) results in an empty include file, and skipping both
- scoots you right out of the program.
- This program will keep track of all declarations in the selected
- include files, and, at the user's discretion, those contained in the selected
- module(s) or contained in include files referenced by the module(s). The
- automatically eliminates duplicates while reading the declarations. The
- eliminated declarations are those that are read latest in the order listed
- here: 1) Declarations directly from the module(s) 2) declarations contained
- in selected include files in the order entered 3) declarations contained in
- include files referenced by the module(s) in the order referenced. Items 1)
- and 3) and their declarations may be omitted by answering N when asked by the
- program whether to include declarations and include files from the module(s).
- By the way, this step can take over a minute with long include files or
- modules.
- After building the list of nonredundant declarations, the program
- searches through the module(s) for references and uses of the declared
- procedures, noting which declared procedures are actually used in the module(s).
- Those which are not used are omitted from the list. The program then checks to
- see whether an include file exists that is named after the first module. If so,
- it asks the user whether to replace it. If the user answers N, then the
- program asks the user to type in the name of the new include file to create.
- Once the new streamlined include file has been created, the user should then
- remove all other references to included files in the module(s), as well as
- attempting to make sure that no module level declarations duplicate those of the
- new include file. IDeclare does NOT remove declarations from modules (or
- include files)!! Once these references and declarations are removed from the
- module(s), then the new include file can be used.
- It would probably be rather prudent at this juncture to point out that
- one possible use of this program is as an aid in the creation of small
- customized libraries. One can use utilities such as the LIBWIZ utilities to
- create customized libraries from large behemoths like PBClone, ProBas, and
- so on, the advantage of course being in memory usage and space. But to use
- LIBWIZ, one must have an include file that contains declarations for only
- the procedures to be placed in the library. Using IDeclare, one can create
- programs using whatever procedures from these large massive libraries the user
- wishes, and then run IDeclare using an include file listing all the library's
- procedures, and the newly-created program as the module. The resulting include
- file contains declarations only for those procedures used in the program. This
- can be done for up to 32 programs at a time, culling out of the big include
- file(s) only what is used in those programs. The resulting include file can then
- be used with the LIBWIZU utility to create the preliminary INF file used by
- LIBWIZ to create a custom library containing only those procedures you
- actually use in your programs. The primary advantage of customized quick
- libraries made in this fashion is that they can free up enough memory to
- enable some programs to be run from within the QB environment that would
- otherwise require compiling and linking first. The primary advantage of
- regular libraries made in this fashion is that they signficantly reduce the
- memory overhead during compiling and linking, and for some available libraries
- that can make the difference between being able to complete the job or getting
- the ever-popular "Out of memory" error warning.
- This is the first release of this program. The QuickBasic code for
- this program is available on disk (specify size) for 25$. Users of this program
- who find it useful are encouraged to register by sending the modest fee of 5$
- to the address below.
- This program was designed and tested on a 286 with a VGA monitor, but
- should work as well on other types, though I don't know how things
- turn out on a monochrome monitor, or an XT-compatible. USE THIS PROGRAM AT
- YOUR OWN RISK!! There are NO guarantees or warranties, express or implied,
- associated with this software in any way.
- Suggestions for improvement, and/or bug reports should be sent via
- E-mail on CompuServe at 70744,1775, GEnie at J.Jacobson16, or via the Postal
- Service to
- John M. Jacobson
- 1140 N. La Salle, Apt. 108
- Chicago, Illinois
-
- Please note that LIBWIZ, LIBWIZU, and PBClone are not associated in
- any manner with the author of this program. They are fine shareware products
- created and copyrighted by Thomas G. Hanlin, III, and are NOT packaged with
- this program. If you use these products you should register according to the
- instructions contained therein.
-
-
-
-